package com.example.customer.controller;

import com.example.customer.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @Autowired
    private ITestService testService;
    @RequestMapping("/test")
    public String test(){
        System.out.println("customer controller....");
        return testService.test();
    }
}
